APEX - Add Buttons to Interactive Grid
|
1 min read
Week Of: 2022-09-18
22/09/2022
var myGrid = apex.region('ACTION_E').widget().interactiveGrid("getViews").grid;
var $te = $(this.triggeringElement);
var rowId = $te.closest('tr').data('id');
apex.server.process (
"CheckExistSolution",
{//data
x01: rowId
}
,{ dataType: 'text'
,success: function(pData){
if(pData)
apex.message.alert(pData);
myGrid.model.fetchRecords( myGrid.getSelectedRecords() );
}
}
);